//
//  BulletModelInfo.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-5-26.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import "cocos2d.h"
#import "TBXML.h"

@interface BulletModelInfo : NSObject
{
    int _bulletModelId;
    int _bulletBig;
    int _bulletMid;
    int _bulletSmall;
    int _level;
    int _groupId;
    NSString* _name;
    float _width;
    float _height;
    CGPoint _anchorPoint;
    NSString* _fromEffect;
    NSString* _movingEffect;
    NSString* _toEffect;
}

@property (readwrite) int bulletModelId;//弹药模型id	
@property (readwrite) int bulletBig;//弹药大类	
@property (readwrite) int bulletMid;//弹药中类	
@property (readwrite) int bulletSmall;//弹药细类	
@property (readwrite) int level;//科技等级	
@property (readwrite) int groupId;//小组编号	
@property (readwrite, retain) NSString* name;//弹药	
@property (readwrite) float width;                            //模型的宽
@property (readwrite) float height;                           //模型的高
@property (readwrite) CGPoint anchorPoint;//重心坐标（导弹用）	
@property (readwrite, retain) NSString* fromEffect;//弹药发射特效	
@property (readwrite, retain) NSString* movingEffect;//弹药弹道特效	
@property (readwrite, retain) NSString* toEffect;//弹药着弹特效


+(id) infoWithTbxml:(TBXMLElement *)tbxml;
-(id) initWithTbxml:(TBXMLElement *)tbxml;

@end
